﻿namespace eShop.Model
{
    public class Address
    {
        public int Id { get; set; }
        public int UserId { get; set; }
        
        public string Name { get; set; }
        public string PhoneNumber { get; set; }
        public string AddressLine1 { get; set; }
        public string AddressLine2 { get; set; }
        public string Zip { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string Country { get; set; }


        public Address() { }

        public Address(
            string name, string telephoneNumber,
            string addressLine1, string addressLine2,
            string zipCode, string city, string addressState, string addressCountry)
        {
            this.Name = name;
            this.PhoneNumber = telephoneNumber;
            this.AddressLine1 = addressLine1;
            this.AddressLine2 = addressLine2;
            this.Zip = zipCode;
            this.City = city;
            this.State = addressState;
            this.Country = addressCountry;
        }
    }
}
